package team.seekers.catering.food.entity.vo.list;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 食材表
 * </p>
 *
 * @author hbc
 * @since 2022-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="NutrientContent对象", description="食材表")
public class FoodListVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "nc_id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "销量")
    private Integer orderAmount;

    @ApiModelProperty(value = "简介")
    private String description;

    @ApiModelProperty(value = "食物样图")
    private String picture;

    @ApiModelProperty(value = "食物热量")
    private Integer kal;

    @ApiModelProperty(value = "食物成本")
    private BigDecimal price;

    @ApiModelProperty(value = "饱腹感指数")
    private BigDecimal satietyIndex;

}
